package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 车友会相关论坛
 *
 * @author chensy
 */
@Entity(tableName = "ac_club_forum")
public class ClubForum {

    @Id
    @Column(name = "club_forum_id")
    private long clubForumId;
    @Column(name = "forum_id")
    private long forumId;//相关论坛Id
    @Column(name = "club_id")
    private long clubId;//车友会Id
    @Column(name = "url")
    private String url;//链接
    @Column(name = "title")
    private String title;//链接的标题
    @Column(name = "seq")
    private int seq;//顺序
    @Column(name = "update_by")
    private long updateBy;//更新者
    @Column(name = "update_at")
    private Date updateAt;//更新时间
    @Column(name = "population")
    private long population;//人气指数 作废
    @Column(name = "icon")
    private String icon;//相关论坛的图标

    @Column(name = "type")
    private int type;//类型：1-地区，2-车系，3-主题
    /**地区**/
    public static final int TYPE_AREA = 1;
    /**车系**/
    public static final int TYPE_SERIAL = 2;
    /**主题**/
    public static final int TYPE_THEME = 3;
    
    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public long getClubForumId() {
        return clubForumId;
    }

    public void setClubForumId(long clubForumId) {
        this.clubForumId = clubForumId;
    }

    public long getForumId() {
        return forumId;
    }

    public void setForumId(long forumId) {
        this.forumId = forumId;
    }

    public long getClubId() {
        return clubId;
    }

    public void setClubId(long clubId) {
        this.clubId = clubId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getSeq() {
        return seq;
    }

    public void setSeq(int seq) {
        this.seq = seq;
    }

    public long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public long getPopulation() {
        return population;
    }

    public void setPopulation(long population) {
        this.population = population;
    }

	public int getType() {
    	return type;
    }

	public void setType( int type ) {
    	this.type = type;
    }
    
}
